package com.qdsg.ysg.doctor.entity;

import com.chad.library.adapter.base.entity.node.BaseNode;

import java.util.List;

/**
 * @Description: 叶子节点 表示已经没有child子元素了
 * @Author: lzp
 * @CreateDate: 2023/12/20 14:23
 * @UpdateRemark: 更新说明
 */
public class LeafNode extends BaseNode {
    private int code;
    private float totalPrice;
    private int cllx;
    private String name;
    public boolean isChecked;


    public LeafNode(String name) {
        this.name = name;
    }

    public LeafNode(int code, float totalPrice, int cllx, String name) {
        this.code = code;
        this.totalPrice = totalPrice;
        this.cllx = cllx;
        this.name = name;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public float getTotalPrice() {
        return totalPrice;
    }

    public void setTotalPrice(float totalPrice) {
        this.totalPrice = totalPrice;
    }

    public int getCllx() {
        return cllx;
    }

    public void setCllx(int cllx) {
        this.cllx = cllx;
    }

    public String getTitle() {
        return name;
    }

    @Override
    public List<BaseNode> getChildNode() {
        return null;
    }
}